namespace EyeOpen.Domain
{
	using System;
	using System.ComponentModel.DataAnnotations;

	[MetadataType(typeof(OrderMetadata))]
	public class Order
		: Entity<Guid>, IOrder
	{
		public Order(Customer customer)
		{
			Customer = customer;
		}

		protected Order()
		{
		}

		public virtual string Name { get; set; }

		public virtual Customer Customer { get; protected set; }
	}
}